﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace HR.ProjectX.GUI.ViewModels.Booking
{
    public class BookingBookView
    {
        public bool HasIssue { get; set; }
        public string Message { get; set; }

        [Required(ErrorMessage = "Enter a date.")]
        public string DateFrom { get; set; }
        [Required(ErrorMessage = "Enter a date.")]
        public string DateTo { get; set; }
        [Required(ErrorMessage = "Enter an email.")]
        public string Email { get; set; }
        public string VehicleModel { get; set; }
    }
}